var about = new Vue({
    el: "#about",
    data:{
        infoUrl:"api/sys/info/aboutInfo",
        content:"",
        menuUrl: "api/sys/index/menuCol",
        menuData:{},
    },
    mounted:function () {
        this.initData();
    },
    updated: function () {//数据加载完触 发
        $("#about img").addClass("img-responsive");
        menu_hover();
    },
    methods: {
        initData: function () {
            this.$http.get(baseUrl + this.infoUrl).then(
                function (res) {
                    this.content = res.data.data;
                }
            ).catch(function (response) {
                console.log(response)
            })

            this.$http.get(baseUrl + this.menuUrl).then(
                function (res) {
                    this.menuData = res.data.data;
                }
            ).catch(function (response) {
                console.log(response)
            })
        }
    }
})